package com.example.rxjavaandretrofitdemo;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;
import rx.Subscriber;

/**
 * Created by tangjiangxu on 11/22/17.
 * 请求电影的网络请求接口
 */

public interface MovieService {

    /**
     * 真实url:https://api.douban.com/v2/movie/top250?start=0&count=10
     * @return
     */
    @GET("top250")
    Call<MovieEntity> getTopMovie(@Query("start") int start, @Query("count") int count);


}
